package me.flyray.bsin.facade.service;

import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java.util.Map;

@Path("/app/user")
public interface HysqCustomerService {
    /**
     * 注册
     */
    @POST
    @Path("register")
    @Produces("application/json")
    public Map<String,Object> register(Map<String, Object> requestMap);

    /**
     * 用户修改自己的基本信息
     */
    @POST
    @Path("edit")
    @Produces("application/json")
    public Map<String,Object> edit(Map<String, Object> requestMap);

    /**
     * 登录
     */
    @POST
    @Path("login")
    @Produces("application/json")
    public Map<String,Object> login(Map<String, Object> requestMap);
}
